﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.Shop;

namespace FwProject.Shop.Dto
{
    [AutoMap(typeof(ShopProductTag))]
    public class ShopProductTagDto: EntityDto<Guid>, ICreationAudited
    {
        /// <summary>
        /// 标签id
        /// </summary>
        [Display(Name = "标签编号")]
        public Guid Tagid { get; set; }



        /// <summary>
        /// 商品id
        /// </summary>
        [Display(Name = "商品编号")]
        public Guid ShopProductid { get; set; }

        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
    }


    public class ShopProductByTagIdDto : EntityDto<Guid>
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 商品编号
        /// </summary>
        public string ProductNumber { get; set; }

    }
}
